﻿IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'DeleteDetalleFacturaByFactura')
	BEGIN
		DROP  Procedure  DeleteDetalleFacturaByFactura
	END

GO

CREATE Procedure DeleteDetalleFacturaByFactura
	@idFactura int
AS

DELETE FROM DetalleFactura WHERE IdFactura = @idFactura

GO


GRANT EXEC ON DeleteDetallePedidoByPedido TO PUBLIC

GO
